/**
 * CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

package com.cmcc.zysoft.infocollection.constant;

/**
 * @author 袁凤建
 * <br />邮箱: yuan.fengjian@ustcinfo.com
 * <br />描述: Constant.java
 * <br />版本: 1.0.0
 * <br />日期: 2013-8-20 下午3:16:34
 * <br />CopyRight © 2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

public final class URLConstant {
	
	/**
	 * 经纬度级别与xy绑定 其中1-99:地理编码结果,101-110:数据部门内部打点, 200-210:维护人员标注(202 为sale人工打点),102来自点评点位信息.
	 */
	public static final String XY_LEVEL = "";
	
	/**
	 * 外呼确认.
	 */
	public static final String IS_OUT_BOUND = "";
	
	/**
	 * 参考票价.
	 */
	public static final String TICKET_PRICE = "";
	
	/**
	 * 官方站点.
	 */
	public static final String OFFICIAL_SITE = "";
	
	/**
	 * 采集员编号.
	 */
	public static final String  COLLECTOR_ID = "14012";
	
	/**
	 * 信息来源(1-安徽).
	 */
	public static final String DATA_SOURCE = "1";
	
	/**
	 * 添加商户接口URL前缀.
	 */
//	public static final String INSERT_RESOURCE_URL_PREFIX = "http://60.247.57.192:8580/acdb_wkor/shop/insert";
	public static final String INSERT_RESOURCE_URL_PREFIX = "http://221.179.176.34:8180/acdb_wkor/shop/insert";
	
	/**
	 * 更新商户信息接口URL前缀.
	 */
//	public static final String UPDATE_RESOURCE_URL_PREFIX = "http://60.247.57.192:8580/acdb_wkor/shop/update";
	public static final String UPDATE_RESOURCE_URL_PREFIX = "http://221.179.176.34:8180/acdb_wkor/shop/update";
	
	/**
	 * 信息查询接口URL前缀.
	 */
//	public static final String INFO_QUERY_URL_PREFIX = "http://60.247.57.192:8580/acdb_wkor/shop/query";
	public static final String INFO_QUERY_URL_PREFIX = "http://221.179.176.34:8180/acdb_wkor/shop/query";
	
	/**
	 * 添加商户接口URL参数.
	 */
	public static final String INSERT_RESOURCE_URL_PARAMETER = "name=%s&telno=%s&address=%s&branch_name=%s" +
			"&short_name=%s&introduction=%s&recommendation=%s&feature=%s&special_offer=%s&province_id=%s&city_id=%s" +
			"&district_id=%s&channel_id=%s&trade_id=%s&belong_id=%s&x=%s&y=%s&landmark=%s&region=%s&xy_level=%s" +
			"&tag=%s&collector_id=%s&is_outbound=%s&zipcode=%s&parking=%s&charge_type=%s&open_time=%s&bus_route=%s" +
			"&route=%s&cost=%s&area=%s&private_room=%s&ticket_price=%s&max_capacity=%s&min_capacity=%s&capacity=%s" +
			"&reservation=%s&delivery_service=%s&official_site=%s&mobile_payment=%s&info_maintain=%s&data_source=%s";
	
	/**
	 * 更新商户信息接口URL参数.
	 */
	public static final String UPDATE_RESOURCE_URL_PARAMETER = "id=%s&name=%s&telno=%s&address=%s&branch_name=%s" +
			"&short_name=%s&introduction=%s&recommendation=%s&feature=%s&special_offer=%s&province_id=%s&city_id=%s" +
			"&district_id=%s&channel_id=%s&trade_id=%s&belong_id=%s&x=%s&y=%s&landmark=%s&region=%s&xy_level=%s" +
			"&tag=%s&collector_id=%s&is_outbound=%s&zipcode=%s&parking=%s&charge_type=%s&open_time=%s&bus_route=%s" +
			"&route=%s&cost=%s&area=%s&private_room=%s&ticket_price=%s&max_capacity=%s&min_capacity=%s&capacity=%s" +
			"&reservation=%s&delivery_service=%s&official_site=%s&mobile_payment=%s&info_maintain=%s&data_source=%s";
	
	/**
	 * 信息查询接口URL参数.
	 */
	public static final String INFO_QUERY_URL_PARAMETER = "info_id=%s&data_source=%s";
	
	/**
	 * 生活(商户)搜索接口URL.
	 */
//	public static final String SEARCH_SHOP_URL = "http://60.247.57.197:8180/WebDataHandler/live_api.search?" + 
	public static final String SEARCH_SHOP_URL = "http://221.179.176.33:8180/WebDataHandler/live_api.search?" + 
			"pid=%s&vt=%s&pt=%s&ip=%s&uci=%s&m=%s&ua=%s&ui=%s&ls=%s&q=%s&pn=%s&ps=%s&lpi=%s&lci=%s&lti=%s&x=%s&y=%s" +
			"&lbb=%s&discount=%s&DiscountRate=%s&address=%s&customize=%s&Zip=%s&near_order_by=dis";
	
	/**
	 * 商户详情接口URL.
	 */
//	public static final String SHOP_DETAIL_URL = "http://60.247.57.197:8180/WebDataHandler/livedetails_api.search?" +
	public static final String SHOP_DETAIL_URL = "http://221.179.176.33:8180/WebDataHandler/livedetails_api.search?" +
			"pid=%s&vt=%s&pt=%s&ip=%s&uci=%s&m=%s&ua=%s&ui=%s&ls=%s&ii=%s&Zip=%s";
	
	/**
	 * 删除商户信息接口URL.
	 */
//	public static final String DELETE_URL = "http://60.247.57.192:8580/acdb_wkor/shop/delete?id=%s&data_source=%s";
	public static final String DELETE_URL = "http://221.179.176.34:8180/acdb_wkor/shop/delete?id=%s&data_source=%s";
}
